package com.cloudm.technician.di

import android.content.Context
import dagger.Module
import dagger.Provides
import javax.inject.Singleton

/**
 * 作者: wesley
 * 时间: 2017/11/20
 * 描述: 提供依赖
 */
@Module(includes = [(ApiModule::class)])
class AppModule(private val context: Context) {

    @Singleton
    @Provides
    fun provideContext() = context
}